#include #include using std::cin; using std::cout; using std::endl; void main() { int A[4] = {1234,3456,223,2345}; cout << A << endl; //c-style string //\0 null terminator character char S[4] = {'a','b','c','\0'}; cout << S << endl; char name[20]; cin >> name; // ingnores all leading ws and stops at first trailing ws cout << "Hello " << name << endl; //throw away the \n char from the input stream //cin.ignore(1); cin.ignore(cin.rdbuf()->in_avail()); //can read ws //has bounds checking cin.getline(name,20); cout << "Hola " << name; }